import Vue from 'vue';
import App from './App.vue';
import iview from 'iview';
import axios from 'axios';
import VueAxios from 'vue-axios';
//import 'iview/dist/styles/iview.css';

import VueRouter from 'Vue-router';
import {routes} from './routes';

Vue.use(VueAxios,axios)
Vue.use(iview);
Vue.use(VueRouter);

const router = new VueRouter({
	routes:routes,
	mode:'history'
});
var vm = new Vue({
	el:'#app',
	router,
	render:h => h(App)
})
